<template>
  <div class="row w-100 justify-content-start mt-2">
    <div class="col-auto">
      <div class="row justify-content-start">
        <div class="col-auto">
          <el-avatar :src="uiData.defaultAvatar" :size="40" />
        </div>
        <div class="col-auto">
          <div class="row">
            <div class="col-auto">
              <slot name="name"></slot>
            </div>
          </div>
          <div class="row">
            <div style="max-width: 380px; background-color: rgb(227, 224, 225)"
              class="col-auto rounded-end-4 rounded-bottom-4 mt-1 pt-2 pb-2">
              <slot name="content"></slot>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { defaultAvatar } from '@renderer/common/resource';
import { ref } from 'vue';
const uiData = ref({
  defaultAvatar: defaultAvatar
})
</script>

<style lang="scss" scoped></style>
